package com.usian.skill.controller;

import com.usian.skill.common.Result;
import com.usian.skill.pojo.SkillUser;
import com.usian.skill.service.SkillUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@RequestMapping("/user")
public class UserController {

	@Autowired
    SkillUserService userService;
	
	/*@Autowired
	RedisService redisService;*/
	
    @RequestMapping("/info")
    @ResponseBody
    public Result<SkillUser> info(Model model, SkillUser user) {
        return Result.success(user);
    }
    
}
